/**
 * 这里是uni-app内置的常用样式变量
 * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量
 * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App
 *
 */
@import 'assets/scss/mixins/index';

$http: 'https://vkceyugu.cdn.bspapp.com';

@mixin flex ($align,$justify) {
  display: flex;
  align-items: $align;
  justify-content: $justify;
}

image[class*="gif-"] {
  border-radius: 6rpx;
  display: block;
}

.global {
  height: 100vh;
  background-color: #e5e5e5;
  &__theme0 {
    --theme-color: #607d8b;
    --box-back-color: rgba(96, 125, 139, 0.05);
  }
  &__theme1 {
    --theme-color: #F44336;
    --box-back-color: rgba(244, 67, 54, 0.05);
  }
}

.DrawerPage {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  background: url("#{$http}/VKCEYUGU-unidf07c07/05192530-d070-11ea-b244-a9f5e5565f30.png") repeat;
  transition: all 0.4s;
}

.DrawerPage.show {
  transform: scale(0.85, 0.85);
  left: 90vw;
  box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
  transform-origin: 0;
  border-radius: 30rpx;
  height: 100vh;

  &:before {
    position: absolute;
    top: 45rpx;
    bottom: 45rpx;
    left: -45rpx;
    width: 100%;
    border-radius: 22rpx;
    background-color: hsla(0, 0%, 100%, .2);
    box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
    content: "";
  }
}

.DrawerWindow {
  position: absolute;
  width: 85vw;
  height: 100vh;
  left: 0;
  top: 0;
  transform: scale(0.9, 0.9) translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}

.DrawerWindow.show {
  transform: scale(1, 1) translateX(0%);
  opacity: 1;
  pointer-events: all;
}

.DrawerClose {
  position: absolute;
  width: 40vw;
  height: 100vh;
  right: 0;
  top: 10upx;
  color: transparent;
  padding-bottom: 30upx;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  letter-spacing: 5px;
  font-size: 50upx;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}

.DrawerClose.show {
  opacity: 1;
  pointer-events: all;
  width: 15vw;
  color: #fff;
}

.DrawerPage .cu-bar.tabbar .action button.cuIcon {
  width: 64upx;
  height: 64upx;
  line-height: 64upx;
  margin: 0;
  display: inline-block;
}

.DrawerPage .cu-bar.tabbar .action .cu-avatar {
  margin: 0;
}

.DrawerPage .nav {
  flex: 1;
}

.DrawerPage .nav .cu-item.cur {
  border-bottom: 0;
  position: relative;
}

.DrawerPage .nav .cu-item.cur::after {
  content: "";
  width: 10upx;
  height: 10upx;
  background-color: currentColor;
  position: absolute;
  bottom: 10upx;
  border-radius: 10upx;
  left: 0;
  right: 0;
  margin: auto;
}

.DrawerPage .cu-bar.tabbar .action {
  flex: initial;
}
